HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/monitoring/metrics_scopes/describe.yaml
- release_tracks: [ALPHA, BETA]
  help_text:
    brief: Describe a Cloud Monitoring metrics scope.
    description: |
      Describe a Cloud Monitoring metrics scope along with the list of projects it is monitoring.

      More details can be found at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes/get
    examples: |
      To describe a metrics scope contained within a specific project, run:

        $ {command} MY-METRICS-SCOPE-PROJECT-ID

      To describe a metrics scope in JSON, run:

        $ {command} MY-METRICS-SCOPE-PROJECT-ID --format=json

      To describe a metrics scope with a fully qualified metrics scope ID, run:

        $ {command} locations/global/metricsScopes/MY-METRICS-SCOPE-PROJECT-ID
  arguments:
    resource:
      help_text: |
        The metrics scope to describe.
      is_positional: true
      spec: !REF googlecloudsdk.command_lib.monitoring.resources:metrics_scope
  request:
    collection: monitoring.locations.global.metricsScopes
    api_version: v1